home *** CD-ROM | disk | FTP | other *** search
-
- Shader()
- {// >=gf 3
- SurfaceID(SRFTYPE)
- NoLightmaps()
- sortweight(SORTW)
- Shaderquality(3)
- Pass()
- {
- Pixelshader("CO.psh")
-
- !include("__Tex1.mtt")
- !include("__Clouds.mtt")
- !include("__FadeGen.mtt")
-
- BlendFunc("src_alpha", "inv_src_alpha")
- AlphaFunc( "greater", 0 )
- depthfunc("lequal", 0)
- }
- lightpass()
-
- !include("Spot1Tex.mtt")
- Cull(CULLING)
- }
-
- Shader()
- {// >=gf 3
- SurfaceID(SRFTYPE)
- NoLightmaps()
- sortweight(SORTW)
- Shaderquality(1)
- Pass()
- {
- Pixelshader("O.psh")
-
- !include("__Tex1.mtt")
- !include("__FadeGen.mtt")
-
- BlendFunc("src_alpha", "inv_src_alpha")
- AlphaFunc( "greater", 0 )
- depthfunc("lequal", 0)
- }
- lightpass()
-
- !include("Spot1Tex.mtt")
- Cull(CULLING)
- }
-
- Shader()
- {//gf2
- SurfaceID(SRFTYPE)
- NoLightmaps()
- sortweight(SORTW)
- Pass()
- {
-
- tmu()
- {
- ColorOp("mul", "tfactor", "tfactor_a", "current")
-
- }
-
- tmu()
- {
- Texture()
- {
- Mapchannel(0)
- Image(TEXTURE1)
- !include(TEX1OPTIONSFILE)
- }
- ColorOp("mul", "texture", "current", "current")
- alphaop("mul2", "texture", "diffuse", "current")
- }
-
- Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %ambient_r)
-
- BlendFunc("src_alpha", "inv_src_alpha")
- AlphaFunc( "greater", 0 )
- depthfunc("lequal", 0)
- }
-
- lightpass()
- !include("spot_spotmap.mtt")
-
- Cull(CULLING)
- }
-